package Skill.DataDifferentRule;

/**
 * 策略+枚举解决if-else
 *
 * @author long
 * @date 2020-09-06 19:39
 */
public class Test {
    public static void main(String[] args){
        String sign="TOUTIAO";
        ChannelRuleEnum match = ChannelRuleEnum.match(sign);
        GeneralChannelRule channel = match.channel;
        channel.process();
    }
}
